package com.log.log.controller;

//import com.log.log.annotation.LogOperation;
//import com.log.log.utils.OperationTypEnum;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import javax.servlet.http.HttpServletRequest;
//import java.util.List;
//
//@RestController
//@RequestMapping("/test")
//public class HealthCheckController {
//
//    @PostMapping("/health")
//    @LogOperation(operationType = OperationTypEnum.UPDATEBATCH, logTableName = "vb_saas.log_recording", primaryKeyField = "mid")
//    public String health(@RequestBody List<VaccineStock> receiveUser, HttpServletRequest request) {
//        String userName = request.getAttribute("username").toString();
//        return userName;
//    }
//}
